/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package collection;

import java.util.*;
/**
 *
 * @author carlossagastume
 */
public class collection {
   
    Set <String>  coleccionSet;
    
    public Set sets (int numero){
        if (numero == 1){
            System.out.println("Se implementa metodo HashSet");
            return new HashSet <>();
            
        }else  
           if (numero == 2){
            System.out.println("Se implementara metodo TreeSet");
            return new TreeSet <> ();
            
        }else 
          if (numero == 3){
               System.out.println("Se implementara metodo LinkedHashSet");
               return new LinkedHashSet <> ();
           }
         
        return coleccionSet;
    }
}
